package com.unit.jmsspring;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.boot.web.support.SpringBootServletInitializer;

/**
 * 项目入口类
 * Created by hgb on 2017/08/09 21:13
 */
@SpringBootApplication
public class JmsSpringWebApp extends SpringBootServletInitializer {


    public static void main( String[] args )
    {
        SpringApplication.run(JmsSpringWebApp.class, args);
    }

    @Override
    protected SpringApplicationBuilder configure(SpringApplicationBuilder application) {
        return application.sources(JmsSpringWebApp.class);
    }

}
